/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package plains;

import java.io.Serializable;
import java.util.ArrayList;
/**
 *
 * @author ceu
 */
public class CustomerPlain implements Serializable{
    
    private Integer idCustomer;
    private String name;
    private String nif;
    private String telephone;
    private ArrayList<ShipmentPlain> shipmentList;

    
    public CustomerPlain(String name, String nif, String telephone) {
        this.name = name;
        this.nif = nif;
        this.telephone = telephone;
        this.shipmentList = new ArrayList<ShipmentPlain>();
    }
    
    
    public Integer getIdCustomer() {
        return idCustomer;
    }

    public void setIdCustomer(Integer idCustomer) {
        this.idCustomer = idCustomer;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getNif() {
        return nif;
    }

    public void setNif(String nif) {
        this.nif = nif;
    }

    public ArrayList<ShipmentPlain> getShipmentList() {
        return shipmentList;
    }

    public void setShipmentList(ArrayList<ShipmentPlain> shipmentList) {
        this.shipmentList = shipmentList;
    }

    public String getTelephone() {
        return telephone;
    }

    public void setTelephone(String telephone) {
        this.telephone = telephone;
    }
    
    
    
}
